#!usr/bin/env python  
# -*- coding: utf-8 -*-
""" 
@author:Simon
@file: objdemo02.py 
@time: 2018/01/18 
"""
class Student(object):

    def __init__(self,name,score):
        self.__name = name
        self.__score = score

    def print_score(self):
        print('%s: %s' % (self.__name, self.__score))

    def get_name(self):
        return self.__name
    def set_score(self,score):
        self.__score = score

simon = Student('Simon', 99)
# print(simon.__name)
simon.__name = "jay"
print(simon._Student__name)
print(simon.__name)